#ifndef BALANCE_ACCOUNT_H
#define BALANCE_ACCOUNT_H
#include<QPushButton>
#include<qpainter.h>
#include <QMainWindow>
#include"mainwindow.h"
namespace Ui {
class balance_account;
}

class balance_account : public QMainWindow
{
    Q_OBJECT
public:
    explicit balance_account(QWidget *parent = nullptr);
    explicit balance_account(int moneynumber,bool isOver,
    int shengmutakeaway1,int shengmustore1,int numberfinished1,int saltstore1,int saltnumbertaken1);
    ~balance_account();
    void paintEvent(QPaintEvent*event);
    MainWindow *mainwindow1;
    void gobackequipmentshop();
private:
    int moneyearned;//赚的钱
    Ui::balance_account *ui;
    QPushButton *btn3;
    bool isgameover;//判断前面游戏是否结束
    int money;//钱
    int shengmutakeaway;//圣木带走量
    int shengmustore;//库里圣木数量
    int numberfinished;
    int saltstore;
    int saltnumbertaken;
};

#endif // BALANCE_ACCOUNT_H
